build: Make tests/libreaddir-rand.so rule use AM_V_GEN
authorColin Walters <walters@verbum.org>
Thu, 7 Apr 2016 01:26:38 +0000 (21:26 -0400)
committerColin Walters (automation) <walters+githubbot@verbum.org>
Thu, 7 Apr 2016 07:34:12 +0000 (07:34 +0000)
So non-verbose builds don't have a verbose rule smack in the middle.

Closes: #241
Approved by: giuseppe

Makefile-tests.am

index 4bf12ce83ce2ddfa030ad1ed0d2e31e29ea82b13..c8e201baca9110e475fa2123d39add4266c2b9a2 100644 (file)
@@ -222,9 +222,9 @@ EXTRA_DIST += \
        tests/gpg-verify-data/trustdb.gpg \
        tests/gpg-verify-data/gpg.conf
 
-tests-libreaddir-rand-so-symlink:
-       ln -fns ../.libs/libreaddir-rand.so tests
-ALL_LOCAL_RULES += tests-libreaddir-rand-so-symlink
+tests/libreaddir-rand.so: Makefile
+       $(AM_V_GEN) ln -fns ../.libs/libreaddir-rand.so tests
+ALL_LOCAL_RULES += tests/libreaddir-rand.so
 
 # Unfortunately the glib test data APIs don't actually handle
 # non-recursive Automake, so we change our code to canonically look